package com.fan.jiekouhomework;

public class FLyFish  extends  Animal implements  Flyer,Swimmer {
    @Override
    public void fly() {
        System.out.println(super.getName()+"飞");
    }

    @Override
    public void swim() {
        System.out.println(super.getName()+"游泳");
    }

    @Override
    public void eat() {
        System.out.println(super.getName()+"吃饭");
    }
    public FLyFish() {
        super("飞鱼");
    }
    public   void   game(){
        System.out.println("玩游戏");
    }
}
